<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title><?php echo $title_for_layout; ?> | Memberz</title>
        <meta name="description" content="app, web app, responsive, admin dashboard, admin, flat, flat ui, ui kit, off screen nav" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> 

        <?php
        echo $this->Html->meta('icon');
        
        echo $this->Html->css('bootstrap.css');
        echo $this->Html->css('animate.css');
        echo $this->Html->css('font-awesome.min.css');
        echo $this->Html->css('font.css', null, array('cache' => false));
        echo $this->Html->css('aristo/jquery-ui.css');
        echo $this->Html->css('datepicker/datepicker.css');
        echo $this->Html->css('/js/plugins/alertify.js/themes/alertify.core.css');
        echo $this->Html->css('/js/plugins/alertify.js/themes/alertify.default.css');
        echo $this->Html->css('/js/fuelux/fuelux.css');
        echo $this->Html->css('intlTelInput');
        echo $this->Html->css("/js/select2/select2.css");
        echo $this->Html->css('plugin.css');
        echo $this->Html->css('app.css');

        echo $this->Html->script('jquery-1.7.1.min.js');
        echo $this->Html->script('jquery-ui.min.js');
        echo $this->Html->script('datepicker/bootstrap-datepicker.js');
        echo $this->Html->script('plugins/alertify.js/src/alertify.js');
        echo $this->Html->script('plugins/jquery.nanoscroller/jquery.nanoscroller.min');
        echo $this->Html->script('plugins/ajax_scroll');
        echo $this->Html->script('plugins/jquery.cookie/jquery.cookie');
        echo $this->Html->script('select2/select2.min.js');
        echo $this->Html->script('libs/moment.min.js');
        echo $this->Html->script("combodate/combodate.js"); 
        echo $this->Html->script('fuelux/fuelux.js');
        echo $this->Html->script('intlTelInput.min');
        echo $this->Html->script('core/mvc.js');
        echo $this->Html->script('core/app.js');
        ?>
        <!--[if lt IE 9]>
          <script src="js/ie/respond.min.js" cache="false"></script>
          <script src="js/ie/html5.js" cache="false"></script>
          <script src="js/ie/fix.js" cache="false"></script>
        <![endif]-->
    </head>
    <body>
        <section class="hbox stretch">
            <!-- .aside -->
            <?php echo $this->element('left-side'); ?>
            <!-- /.aside -->
            <!-- .vbox -->
            <?php echo $this->element('content'); ?>
            <!-- /.vbox -->
        </section>

        <?php
        //echo $this->Html->script('phpjs.js');
        echo $this->Html->script('bootstrap.js');
        echo $this->Html->script('app.js');

        echo $this->Html->script('charts/sparkline/jquery.sparkline.min.js');
        echo $this->Html->script('app.plugin.js');
        echo $this->Html->script('app.data.js');
        echo $this->Html->script('libs/jquery.pjax.js');

        echo $this->Html->script('charts/easypiechart/jquery.easy-pie-chart.js');
        echo $this->Html->script('charts/morris/raphael-min.js');
        echo $this->Html->script('charts/morris/morris.min.js');

        echo $this->Html->script('scroll/smoothscroll.js');
        
        // instant sms messaging anywhere in the admin area
        echo $this->Html->script('app/views/sms/instant.js');
        ?>
        
        <div class="modal" id="ajaxModal" aria-hidden="true" style="display: none;">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal">×</button>
                        <h4 class="modal-title">Modal title</h4>
                    </div>
                    <div class="modal-body">
                        ...
                    </div>
                    <div class="modal-footer">
                        <a href="#" class="btn btn-white" data-dismiss="modal">Close</a>
                        <a href="#" class="btn btn-primary">Save</a>
                    </div>
                </div><!-- /.modal-content -->
            </div><!-- /.modal-dialog -->
        </div>
        
        <div>
            <div id="app_dialog"></div>
        </div>
    </body>
</html>